package com.yihuier.yihuier.Mapper.MeetingManager;

import com.yihuier.yihuier.Entity.MeetingManager.MeetingData;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface MeetingDataMapper {

    @Results({
            @Result(property = "data_id",column = "data_id"),
            @Result(property = "data_meeting_id",column = "data_meetingid"),
            @Result(property = "data_name",column = "data_name"),
    })
    @Select("SELECT data_id,data_name,data_meetingid,data_address FROM `bz_meeting_data` WHERE data_meetingid = #{meeting_id} AND data_status = 1 AND data_type = 1;")
    List<MeetingData> selectMeetingFileData(@Param("meeting_id") int meeting_id);
}
